﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public class RobotPrioritizedFollowPosition : PrioritizedFollowPosition
{
    private RobotTouch robot;

    public RobotPrioritizedFollowPosition(RobotTouch robot)
    {
        this.robot = robot;
        Priority = PrioritizedFollowPosition.PLAYER;
    }

    public override void Update(float time)
    {
        Position = robot.transform.position;
    }
}
